package Command;

public class CloseDoorCommand implements ICommand{

    private Door door;
    public  CloseDoorCommand(Door door)
    {
        this.door=door;
    }

    @Override
    public void execute() {
        door.closeDoor();
    }
}
